package com.city.service.pub.impl;

import com.city.domain.pub.PubFamilyRelationship;
import com.city.repository.pub.PubFamilyRelationshipRepository;
import com.city.service.pub.PubFamilyRelationshipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation: 家庭成员关系分类
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
@Service
public class PubFamilyRelationshipServiceImpl implements PubFamilyRelationshipService {

    @Autowired
    private PubFamilyRelationshipRepository pubFamilyRelationshipRepository;

    @Override
    public List<PubFamilyRelationship> findALL() {
        return pubFamilyRelationshipRepository.findAll();
    }
}
